<?php require("header.phtml");

$output = '';

$output .=<<<EOF
<table width="100%" cellspacing="0" cellpadding="10">
    <tr>
        <th width="2%" class="block_desc_top_left"></th>
        <th width="5%" class="block_desc_top_left" id="order_product_id">ID</th>
        <th width="30%" class="block_desc_top_left" id="order_product_display">Email</th>
        <th width="30%" class="block_desc_top_left" id="order_product_display">Name</th>
        <th width="30%" class="block_desc_top_left" id="order_product_time">Level</th>
        <th width="1%" class="block_desc_top_left">Sửa</th>
        <th width="1%" class="block_desc_top_right">Xóa</th>
    </tr> 
EOF;

if( count( $this->data ) > 0 )
{
    foreach( $this->data as $item )
    {
$output .=<<<EOF
        <tr bgcolor="#F6F6F6">
           <td><input type="checkbox" name="id_0" value="8993"></td>
            <td>#{$item['user_id']}</td>
            <td></td>
            <td></td>
            <td></td>
            <td align="center"><a href='{$this->baseUrl}/admin/user/edit/id/{$item['user_id']}'><img src='/public/admin/images/icon_edit.png' /></a></td>
            <td align="center"><img src='/public/admin/images/icon_cancel.png' /></td>
         </tr> 
EOF;
    }
}
$output .=<<<EOF
    </table>
EOF;
print($output);
require("footer.phtml");
?>
  
    